package com.service;

import java.util.List;


import com.Dao.ProjectDao;
import com.Dao.employeeProjectDao;


import com.entity.Project;
import com.entity.employProject;

public class ProjectService {

	private ProjectDao dao = new ProjectDao();
	private employeeProjectDao ep = new employeeProjectDao();
	
	public List<Project> login(int id) {
		return  dao.findById(id);
	}
	
	 public employProject findById(int projectId,int employeeId) {
         return ep.findByProjectId(projectId,employeeId);
 }

	




}
